package com.tiamo.traders.entity;


import org.springframework.stereotype.Component;

@Component
public class Job extends PageModel{
    private int id;
    private String publicity;//公司简介
    private String img;//招聘主图
    private String post;//职位
    private String skill;//注意事项
    private String matters;//岗位职责
    private String condition;//晋升条件
    private String status;//任职资格

    public Job(int id, String publicity, String img, String post, String skill, String matters, String condition, String status) {
        this.id = id;
        this.publicity = publicity;
        this.img = img;
        this.post = post;
        this.skill = skill;
        this.matters = matters;
        this.condition = condition;
        this.status = status;
    }

    public Job() {
    }

    @Override
    public String toString() {
        return "Job{" +
                "id=" + id +
                ", publicity='" + publicity + '\'' +
                ", img='" + img + '\'' +
                ", post='" + post + '\'' +
                ", skill='" + skill + '\'' +
                ", matters='" + matters + '\'' +
                ", condition='" + condition + '\'' +
                ", status='" + status + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPublicity() {
        return publicity;
    }

    public void setPublicity(String publicity) {
        this.publicity = publicity;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getPost() {
        return post;
    }

    public void setPost(String post) {
        this.post = post;
    }

    public String getSkill() {
        return skill;
    }

    public void setSkill(String skill) {
        this.skill = skill;
    }

    public String getMatters() {
        return matters;
    }

    public void setMatters(String matters) {
        this.matters = matters;
    }

    public String getCondition() {
        return condition;
    }

    public void setCondition(String condition) {
        this.condition = condition;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
